auto merge of #864 : tomaka/cargo/fix-814, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 13 Nov 2014 22:45:53 +0000 (22:45 +0000)
committerbors <bors@rust-lang.org>
Thu, 13 Nov 2014 22:45:53 +0000 (22:45 +0000)
commit3b401c93d3a6f292ecf63501b2694865f2e3d939
tree934dbddff4c545fd4b0e8eb647f8a12cfceb0678
parent765f3425ab7a04d1859909b6252f14ae02de7f7b
parent607b3d94940693a8f07f79cff71af539eb2017ec
auto merge of #864 : tomaka/cargo/fix-814, r=alexcrichton

Close #814

Unfortunately I don't really know how I'd add a test for this.
In order to try compile a library then a binary, you need to successfully compile the library, which means that you'd need to pass a valid value instead of just `-l foo`
src/cargo/ops/cargo_rustc/mod.rs